<?php

include('model.conexao.php');
include('../control/control.autenticacao.class.php');

$ses = new Autenticacao();
$ses->redir('index.php', 'http://localhost/forum/trunk/view/login.php');
$ses->credenciais($_POST['usuario'], $_POST['senha']);
$ses->validacao();
$ses->protege();
?>
